import 'napi';

interface ModuleHello {
    helloWorld: () => void;
}

const hello = requireNapi('demo/libhello.so', RequireBaseDir.BUILD_DIR) as ModuleHello;

hello.helloWorld();